package io.renren.modules.aic.dao;

import java.util.Date;

import io.renren.modules.aic.entity.CtocTransactionEntity;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * ctoc交易表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-03-30 15:44:17
 */
public interface CtocTransactionDao extends BaseMapper<CtocTransactionEntity> {

	/**
	 * 成交金额
	 */
	Double totalAmount(Date d);

	/**
	 * 成交总币数
	 * 
	 * @param d
	 * @return
	 */
	Double totalCoinAmount(Date d);
}
